package com.catena.core;

/**
 * Created by hx-pc on 16-3-2.
 */
public class NotFoundMehtodOfClass extends RuntimeException {

    private String message = "无法找到指定的方法";

    public NotFoundMehtodOfClass(String message, Throwable cause) {
        super(message, cause);
        this.message = message;
    }

    public NotFoundMehtodOfClass(Throwable cause) {
        super(cause);
    }

    @Override
    public String getMessage() {
        return message;
    }
}
